using System;
using System.Windows.Forms;
using CStock;
//using System.Data.Services.Client;

namespace CapitalReSources
{
	/// <summary>
	/// Summary description for PropertyGridStock.
	/// </summary>
	public class PropertyGridStock : PropertyGrid
	{
		IMainClass mainClass ;


		public PropertyGridStock()
		{
			try
			{
				this.mainClass = MainClass.Instance;
				this.mainClass.PropertyGrid = this;
			}
			catch
			{
				//this occurs in design mode - do nothing
			}

			
		}


	}
}
